package com.tour.pojo;

import java.util.Date;

public class BookingInfo {
    private Long trId;

    private Integer userId;

    private Date fromTime;

    private Date toTime;

    private Integer num;

    private String linkman;

    private String phone;

    private Date createTime;

    private Date updateTime;

    public BookingInfo(Long trId, Integer userId, Date fromTime, Date toTime, Integer num, String linkman, String phone, Date createTime, Date updateTime) {
        this.trId = trId;
        this.userId = userId;
        this.fromTime = fromTime;
        this.toTime = toTime;
        this.num = num;
        this.linkman = linkman;
        this.phone = phone;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public BookingInfo() {
        super();
    }

    public Long getTrId() {
        return trId;
    }

    public void setTrId(Long trId) {
        this.trId = trId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getFromTime() {
        return fromTime;
    }

    public void setFromTime(Date fromTime) {
        this.fromTime = fromTime;
    }

    public Date getToTime() {
        return toTime;
    }

    public void setToTime(Date toTime) {
        this.toTime = toTime;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman == null ? null : linkman.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}